<template>
    <div>
        <span>{{ text }}</span>
        <button @click="go">now</button>
    </div>
</template>
<script>
export default {
    name:'CategoryTab',
    model: {
        prop: "text",
        event: "change",
    },
    props: {
        text: String,
    },
    methods: {
        go() {
            this.$emit("change", Date.now());
        },
    },
};
</script>
